package com.jwell.panprovider.contract

import com.jwell.cargoapp.ui.base.IBaseView
import com.jwell.driverapp.tools.BaseSubscriber
import com.jwell.panprovider.model.PreRegisterModel

/**
 * Created by 76577 on 2018/4/9.
 * 预登记
 */
class PreRegisterContract {
    interface View : IBaseView {
        fun createSucceed()

        fun createFailed(msg: String)
    }

    interface Presenter {
        fun createWaybill(data: PreRegisterModel.RequestData)
    }

    interface Model {
        fun createWaybill(data: PreRegisterModel.RequestData, baseSubscriber: BaseSubscriber)
    }
}